package com.kuang.pojo;

/**
 * @program: springs-study
 * @description:
 * @author: 陈恩涛
 * @create: 2020-06-30 21:19
 **/
public class User {
    private String name;

//    public User() {
//        System.out.println("User的无参构造函数！");
//    }

    public User(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void show(){
        System.out.println("name = "+name);
    }


}
